<!doctype html>
    <!--[if lt IE 7]> <html class="lt-ie9 lt-ie8 lt-ie7" lang="en-US"> <![endif]-->
    <!--[if IE 7]>    <html class="lt-ie9 lt-ie8" lang="en-US"> <![endif]-->
    <!--[if IE 8]>    <html class="lt-ie9" lang="en-US"> <![endif]-->
    <!--[if gt IE 8]><!--> 
<html lang="en-US"> <!--<![endif]-->
    <head>
        <!-- META TAGS -->
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0">

        <title>Knowledge Base Theme</title>

        <link rel="shortcut icon" href="__PUBLIC__/h/images/favicon.png" />

        <!-- Style Sheet-->
        <link rel="stylesheet" href="__PUBLIC__/h/style.css"/>
        <link rel='stylesheet' id='bootstrap-css-css'  href='__PUBLIC__/h/css/bootstrap5152.css?ver=1.0' type='text/css' media='all' />
        <link rel='stylesheet' id='responsive-css-css'  href='__PUBLIC__/h/css/responsive5152.css?ver=1.0' type='text/css' media='all' />
        <link rel='stylesheet' id='pretty-photo-css-css'  href='__PUBLIC__/h/js/prettyphoto/prettyPhotoaeb9.css?ver=3.1.4' type='text/css' media='all' />
        <link rel='stylesheet' id='main-css-css'  href='__PUBLIC__/h/css/main5152.css?ver=1.0' type='text/css' media='all' />
        <link rel='stylesheet' id='custom-css-css'  href='__PUBLIC__/h/css/custom5152.html?ver=1.0' type='text/css' media='all' />

        <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
        <!--[if lt IE 9]>
        <script src="__PUBLIC__/h/js/html5.js"></script></script>
        <![endif]-->
    </head>

    <body>

        <!-- Start of Header -->
        <include file="Index/header" />
        <!-- End of Header -->
        <div class="page-container">
            <div class="container">
                <div class="row">

                    <!-- 问题列表 页面左侧内容-->
                    <div class="span8 main-listing">
                    <foreach name="asks" item="ask">
                        <article class="format-standard type-post hentry clearfix">

                            <header class="clearfix">

                                <h3 class="post-title">
                                    <a href='{:U("Ask/ask_detail", ["ask_id"=>$ask["id"]])}'>{$ask["title"]}</a>
                                </h3>

                                <div class="post-meta clearfix">
                                    <span class="date">

                                    <empty name="ask['last_time']">
                                    {$ask['public_time']| date='Y/m/d',###} 
                                    <else />
                                     {$ask['last_time'] | date='Y/m/d',###} 
                                    </empty>

                                    </span>
                                    <span class="category"><a href="#" title="View all posts in Server &amp; Database">{$ask["cid"]|getAskCateName}</a></span>
                                    <span class="comments"><a href='{:U("Ask/ask_detail", ["ask_id"=>$ask["id"]])}' title="Comment on Integrating WordPress with Your Website">{$ask["answers"]} 回复</a></span>
                                    <span class="like-count">{$ask["clickgood_num"]}</span>
                                </div><!-- end of post meta -->

                            </header>

                            <p>{$ask["content"]} . . . <a class="readmore-link" href='{:U("Ask/ask_detail", ["ask_id"=>$ask["id"]])}'>Read more</a></p>

                        </article>
                    </foreach>
                       <!--  <article class="format-standard type-post hentry clearfix">

                            <header class="clearfix">

                                <h3 class="post-title">
                                    <a href="single.html">Using Javascript</a>
                                </h3>

                                <div class="post-meta clearfix">
                                    <span class="date">25 Feb, 2013</span>
                                    <span class="category"><a href="#" title="View all posts in Advanced Techniques">Advanced Techniques</a></span>
                                    <span class="comments"><a href="#" title="Comment on Using Javascript">0 Comments</a></span>
                                    <span class="like-count">18</span>
                                </div>

                            </header>

                            <p>Many of us work in an endless stream of tasks, browser tasks, social media, emails, meetings, rushing from one thing to another, never pausing and never ending.&nbsp;Then the day is over, and we are exhausted, and we often have very little to show for it. And we start the next . . . <a class="readmore-link" href="http://knowledgebase.inspirythemes.com/using-javascript/">Read more</a></p>

                        </article> -->

                        <!-- <article class=" type-post format-image hentry clearfix">

                            <header class="clearfix">

                                <h3 class="post-title">
                                    <a href="single.html">Using Images</a>
                                </h3>

                                <div class="post-meta clearfix">
                                    <span class="date">25 Feb, 2013</span>
                                    <span class="category"><a href="#" title="View all posts in Designing in WordPress">Designing in WordPress</a></span>
                                    <span class="comments"><a href="#" title="Comment on Using Images">0 Comments</a></span>
                                    <span class="like-count">7</span>
                                </div>

                            </header>

                            <a href="#" title="Using Images"><img width="770" height="501" src="__PUBLIC__/h/images/temp/living-room-770x501.jpg" class="attachment-std-thumbnail wp-post-image" alt="Living room"></a>

                            <p>Many of us work in an endless stream of tasks, browser tasks, social media, emails, meetings, rushing from one thing to another, never pausing and never ending.&nbsp;Then the day is over, and we are exhausted, and we often have very little to show for it. And we start the next . . . <a class="readmore-link" href="http://knowledgebase.inspirythemes.com/using-__PUBLIC__/h/images/">Read more</a></p>

                        </article> -->

                        <!-- <article class="type-post  format-video hentry clearfix">

                            <header class="clearfix">

                                <h3 class="post-title">
                                    <a href="single.html">Using Video</a>
                                </h3>

                                <div class="post-meta clearfix">
                                    <span class="date">24 Feb, 2013</span>
                                    <span class="category"><a href="#" title="View all posts in WordPress Plugins">WordPress Plugins</a></span>

                                    <span class="comments"><a href="#" title="Comment on Using Video">0 Comments</a></span>

                                    <span class="like-count">7</span>
                                </div>

                            </header>
                            <div class="post-video">
                                <div class="video-wrapper">
                                    <iframe src="http://player.vimeo.com/video/24535181" width="500" height="281" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen=""></iframe>
                                </div>
                            </div> 

                            <p>Many of us work in an endless stream of tasks, browser tasks, social media, emails, meetings, rushing from one thing to another, never pausing and never ending.&nbsp;Then the day is over, and we are exhausted, and we often have very little to show for it. And we start the next . . . <a class="readmore-link" href="http://knowledgebase.inspirythemes.com/using-video/">Read more</a></p>

                        </article>-->

                        <!-- <article class=" type-post  format-standard hentry clearfix">

                            <header class="clearfix">

                                <h3 class="post-title">
                                    <a href="single.html">WordPress Site Maintenance</a>
                                </h3>

                                <div class="post-meta clearfix">
                                    <span class="date">24 Feb, 2013</span>
                                    <span class="category"><a href="#" title="View all posts in Website Dev">Website Dev</a></span>

                                    <span class="comments"><a href="#" title="Comment on WordPress Site Maintenance">0 Comments</a></span>

                                    <span class="like-count">15</span>
                                </div>

                            </header>

                            <p>Many of us work in an endless stream of tasks, browser tasks, social media, emails, meetings, rushing from one thing to another, never pausing and never ending.&nbsp;Then the day is over, and we are exhausted, and we often have very little to show for it. And we start the next . . . <a class="readmore-link" href="http://knowledgebase.inspirythemes.com/wordpress-site-maintenance/">Read more</a></p>

                        </article> -->

                        <div id="pagination">
                                <!-- <a href="#" class="btn active">1</a>
                                <a href="#" class="btn">2</a>
                                <a href="#" class="btn">3</a>
                                <a href="#" class="btn">Next »</a>
                                <a href="#" class="btn">Last »</a> -->
                            {$page}
                        </div>
<!--                         <div>  
                            <span class="current">1</span>
                            <a class="num" href="/gz31/wenda/index.php/Home/Ask/cat_ask/cid/1/p/2.html">2</a> 
                            <a class="next" href="/gz31/wenda/index.php/Home/Ask/cat_ask/cid/1/p/2.html">>></a> 
                        </div> -->
                    </div>
                    <!-- end of page content -->


                    <!-- 页面右侧内容 开始 -->
                    <aside class="span4 page-sidebar">

                            <section class="widget">
                                    <div class="support-widget">
                                            <h3 class="title">Support</h3>
                                            <p class="intro">Need more support? If you did not found an answer, contact us for further help.</p>
                                    </div>
                            </section>


                            <section class="widget">
                                    <h3 class="title">Featured Articles</h3>
                                    <ul class="articles">
                                            <li class="article-entry standard">
                                                    <h4><a href="single.html">Integrating WordPress with Your Website</a></h4>
                                                    <span class="article-meta">25 Feb, 2013 in <a href="#" title="View all posts in Server &amp; Database">Server &amp; Database</a></span>
                                                    <span class="like-count">66</span>
                                            </li>
                                            <li class="article-entry standard">
                                                    <h4><a href="single.html">WordPress Site Maintenance</a></h4>
                                                    <span class="article-meta">24 Feb, 2013 in <a href="#" title="View all posts in Website Dev">Website Dev</a></span>
                                                    <span class="like-count">15</span>
                                            </li>
                                            <li class="article-entry video">
                                                    <h4><a href="single.html">Meta Tags in WordPress</a></h4>
                                                    <span class="article-meta">23 Feb, 2013 in <a href="#" title="View all posts in Website Dev">Website Dev</a></span>
                                                    <span class="like-count">8</span>
                                            </li>
                                            <li class="article-entry image">
                                                    <h4><a href="single.html">WordPress in Your Language</a></h4>
                                                    <span class="article-meta">22 Feb, 2013 in <a href="#" title="View all posts in Advanced Techniques">Advanced Techniques</a></span>
                                                    <span class="like-count">6</span>
                                            </li>
                                    </ul>
                            </section>



                            <section class="widget"><h3 class="title">Categories</h3>
                                    <ul>
                                            <li><a href="#" title="Lorem ipsum dolor sit amet,">Advanced Techniques</a> </li>
                                            <li><a href="#" title="Lorem ipsum dolor sit amet,">Designing in WordPress</a></li>
                                            <li><a href="#" title="Lorem ipsum dolor sit amet,">Server &amp; Database</a></li>
                                            <li><a href="#" title="Lorem ipsum dolor sit amet, ">Theme Development</a></li>
                                            <li><a href="#" title="Lorem ipsum dolor sit amet,">Website Dev</a></li>
                                            <li><a href="#" title="Lorem ipsum dolor sit amet,">WordPress for Beginners</a></li>
                                            <li><a href="#" title="Lorem ipsum dolor sit amet, ">WordPress Plugins</a></li>
                                    </ul>
                            </section>

                            <section class="widget">
                                    <h3 class="title">Recent Comments</h3>
                                    <ul id="recentcomments">
                                            <li class="recentcomments"><a href="#" rel="external nofollow" class="url">John Doe</a> on <a href="#">Integrating WordPress with Your Website</a></li>
                                            <li class="recentcomments">saqib sarwar on <a href="#">Integrating WordPress with Your Website</a></li>
                                            <li class="recentcomments"><a href="#" rel="external nofollow" class="url">John Doe</a> on <a href="#">Integrating WordPress with Your Website</a></li>
                                            <li class="recentcomments"><a href="#" rel="external nofollow" class="url">Mr WordPress</a> on <a href="#">Installing WordPress</a></li>
                                    </ul>
                            </section>

                    </aside>
                    <!-- end of sidebar -->
                </div>
            </div>
        </div>
        <!-- End of Page Container -->

        <!-- Start of Footer -->
        <include file="Index/footer" />
        <!-- End of Footer -->

        

        <!-- script -->
        <script type='text/javascript' src='__PUBLIC__/h/js/jquery-1.8.3.min.js'></script>
        <script type='text/javascript' src='__PUBLIC__/h/js/jquery.easing.1.34e44.js?ver=1.3'></script>
        <script type='text/javascript' src='__PUBLIC__/h/js/prettyphoto/jquery.prettyPhotoaeb9.js?ver=3.1.4'></script>
        <script type='text/javascript' src='__PUBLIC__/h/js/jquery.liveSearchd5f7.js?ver=2.0'></script>
		<script type='text/javascript' src='__PUBLIC__/h/js/jflickrfeed.js'></script>
        <script type='text/javascript' src='__PUBLIC__/h/js/jquery.formd471.js?ver=3.18'></script>
        <script type='text/javascript' src='__PUBLIC__/h/js/jquery.validate.minfc6b.js?ver=1.10.0'></script>
        <script type='text/javascript' src='__PUBLIC__/h/js/custom5152.js?ver=1.0'></script>
    
    <script>

        $("#pagination a").unwrap("<div></div>");
        $("#pagination span").wrap("<li class='btn active'></li>");
        $("#pagination a").wrap("<li class='btn'></li>");
        $("#pagination a").has(".prev").parent().addClass("prev");
    </script>
    </body>
</html>
